package edu.bit.water.dao;

import edu.bit.water.entity.EntityWaterCount;
import edu.bit.water.entity.MetaQSDEsub;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.springframework.dao.DataIntegrityViolationException;
import org.springframework.stereotype.Repository;

import java.util.List;


@Mapper
@Repository
public interface MetaQSDEsubDao {

    int insertMetaQSDEsub(MetaQSDEsub metaQSDEsub) ;
    Integer getMaxId();
    int delete(@Param("id") int id);
    int update(MetaQSDEsub metaQSDEsub);
    List<MetaQSDEsub> queryQSDEsub(String stNumber);

    int waterCountDelete(String productName, String standardNumber);

    int waterCountUpdate(EntityWaterCount entityWaterCount);
}
